package com.tear.language.node;

import java.util.Map;

import net.sf.json.JSONObject;

import com.tear.language.utils.Attrs;

/**
测试节点
*/
public class TestNode extends BaseNode {

	@Override
	public boolean parse(Map<String, Object> currParams,Map<String, Object> globalParams, JSONObject obj) throws Exception {
		String desc = obj.optString(Attrs.DESC);
		System.out.println(desc+"局部变量为"+currParams.toString());
		System.out.println(desc+"全局变量为"+globalParams.toString());
		System.out.println("----------------------------------------");
		return true;
	}

}
